<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php $this->archiveTitle(' &raquo; ', '', ' - '); ?><?php $this->options->title(); ?></title>
<link rel="stylesheet" type="text/css" media="all" href="<?php $this->options->themeUrl('style.css'); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php $this->options->resUrl('js/fancyBox/jquery.fancybox.css'); ?>" />
<?php $this->header(); ?>
</head>
<body>
<div id="wrap">
<div id="header">
	<div class="title">
		<div id="now"></div>
		<h1><?php $this->options->title(); ?></h1>
	</div>
	<div class="nav"><ul>
		<li><a class="n_index" href="<?php $this->options->index('index.php');?>" title="首页">网站首页</a></li>
<?php 
	$this->widget('Widget_Contents_Page_List')
		->parse("\t  <li><a class='n_{slug}' href='{permalink}' title='{title}'>{title}</a></li>");
?>
	</ul></div>
</div>
<div id="middle">
<?php if(!$this->is('index') && !$this->is('page', 'index')): ?>
<div id="crumbs">
	<div class="crumbs_show">
	<a href="<?php $this->options->index(); ?>">首页</a> &raquo; 
	<?php
		if( $this->is('post') ){ /** 页面为产品详情页时 **/
			$this->category();
			echo ' &raquo; '.$this->title ;
		}else if( $this->is('category') ){ /** 页面为产品时 **/
			$this->category();
		}else if( $this->is('tag') ){ /** 页面为产品标签时 **/
			$this->tags();
		}else if( $this->is('search') ){
			echo '搜索' ;
		}else{ /** 页面为其他页时 **/
			$this->archiveTitle(' &raquo; ','',''); 
		}
	?>
	</div>
</div>
<?php endif; ?>